var express = require('express');

var router = express.Router();

var cookiesession = require("cookie-session");

var cookieparser = require("cookie-parser");
/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('login.ejs');
});
router.post("/tologin",(req,res)=>{
    let {tel,pass} = req.body;
    console.log(req.body);
    console.log(req.session);
  
})
module.exports = router;
